import { CommonTaskForm, Response } from '@/types/apiType';

import request from '../utils/request';
import { RequestConfig } from '../utils/request/type';

/**
 * @description
 * @tags browse-info-controller
 * @summary 浏览+1
 * @request post:/api/browse
 */
export const apiBrowseByPost = (params: CommonTaskForm, config?: RequestConfig) =>
  request.post<Response>(`/api/browse`, params, config).then((res) => res?.result);
